<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:include="navigation::nav">
</div>
<h2>我的登分-选择班级和课程</h2>
<hr>
<div>
    <table class="table" width="90%" border="2px">
        <tbody>
        <tr>
            <th>班级编号</th>
            <th>班级名称</th>
            <th>课程号</th>
            <th>课程名称</th>
            <th>请选择</th>
        </tr>
        <tr th:each="x:${lists}">
            <th th:text="${x.getClz().getClzno()}"></th>
            <th th:text="${x.getClz().getClzname()}"></th>
            <th th:text="${x.getCourse().getCon()}"></th>
            <th th:text="${x.getCourse().getCname()}"></th>
            <th><a th:href="'/tea/go2mark/'+${x.getClz().getClzno()}+'/'+${x.getCourse().getCon()}"><button>检索该班级的所有学生及已经录入的成绩</button></a></th>
        </tr>
        </tbody>
    </table>
</div>
<h2 th:if="${action!=null}" th:text="${action}"></h2>
</body>
</html>